﻿using UnityEngine;
using System.Collections;
using System.IO;
using ProtoBuf;
using PBMessage;
using System.Text;
public class NetManager
{
   public NetWork NetWork;

   public NetManager() 
   {
       NetWork = new NetWork();
       NetWork.Init();
   }
   
    public void SendPacket<T>(T packet,PBMessageID msgID) 
    {
        NetWork.SendPacket<T>(packet, msgID);
    }

  
}
